/*************************************************************
 * File: CriterionSupport.java
 * Copyright (c) 2012
 * Author: Shaobin.Software@gmail.com Shaobin_Software@163.com 
 * Date: Jan 10, 2013
 * Description: 
 ************************************************************/

package snow.core.persistence.mybatis;

/**
 * 所有MyBatis生成的Criterion都要实现这个接口
 * 
 * @author Shaobin.Software@gmail.com Shaobin_Software@163.com
 * @version 1.0
 */
public interface CriterionSupport {

	String getCondition();

	Object getSecondValue();

	String getTypeHandler();

	Object getValue();

	boolean isBetweenValue();

	boolean isListValue();

	boolean isNoValue();

	boolean isSingleValue();
}
